/**
 * Copyright 2010 Pavel Daniel Alexandru PFA
 * 
 * Licensed under the terms of the GNU Lesser General Public License version 3 
 * as published by the Free Software Foundation. You may obtain a copy of the
 * License at: http://www.gnu.org/copyleft/lesser.html
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations 
 * under the License. 
 */
package com.kobol.webclient.client.model;

/**
 * @author Pavel Alexandru
 * 
 */
public class ActivityData {
    private static ActivityRecord[] records;

    public static ActivityRecord[] getRecords() {
	if (records == null) {
	    records = getNewRecords();
	}

	return records;
    }

    public static ActivityRecord[] getNewRecords() {
	return new ActivityRecord[] {
		new ActivityRecord("task", "Task", "Get A4 Paper", "Printer", "High", "01/10/2010", "30/10/2010"),
		new ActivityRecord("fax", "Fax", "Send Invoice", "Consulting", "High", "01/10/2010", "30/10/2010"),
		new ActivityRecord("phonecall", "Phone Call", "Follow-up Call", "Meeting", "Normal", "01/10/2010",
			"30/10/2010"),
		new ActivityRecord("email", "Email", "Sales Proposal", "New Product", "Normal", "01/10/2010",
			"30/10/2010"),
		new ActivityRecord("letter", "Letter", "Finish Proposal", "New Client", "High", "01/10/2010",
			"30/10/2010"),
		new ActivityRecord("appointment", "Appointment", "New Assignment", "New Client", "High", "01/10/2010",
			"30/10/2010") };
    }
}
